# Contributor: Anon <danilagdn.2004@gmail.com>
# Maintainer: Lindsay Zhou <i@lin.moe>
pkgname=sing-geosite
pkgver=20240810010807
pkgrel=0
pkgdesc="sing-geosite database"
_repo="SagerNet/$pkgname"
url="https://github.com/$_repo"
arch="noarch"
license="GPL-3.0-or-later"
source="$pkgver.geosite.db::$url/releases/download/$pkgver/geosite.db
				$pkgver.LICENSE::https://raw.githubusercontent.com/$_repo/$pkgver/LICENSE"
options="!check"


package() {
	install -Dm644 "$srcdir/$pkgver.geosite.db" "$pkgdir/usr/share/$pkgname/geosite.db"
	install -Dm644 "$srcdir/$pkgver.LICENSE"    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

sha512sums="
7afccf54d663cae9c23309a3309084cd45488ffef55bea5a712c45eee6e02d1b688d7421d10b4530e75dbf6570b85c3be34ce2a5f063ed8905709f58ccf8a2c7  20240810010807.geosite.db
5cab2697882973e38835376b3e5f45f5720da2a5d408c442ab8c03b97b2cb69387fe5dd7f00e8d3e7dbc9e34797c120c0444b9abb60aba1728e6661970a12418  20240810010807.LICENSE
"
